<?php

$code=mt_rand(100000,999999);
$desc='你正在注册网站。您的注册码是：'.$code.'。';
$email=new \PHPMailer\Email();
$res=$email->sendEmail($desc,'lizhilimaster@163.com');